package com.lovestudying.entity;

import java.sql.Timestamp;

/**
 * 一级评论实体类
 * 
 * @author OldDeer
 *
 */
public class Comment {
	/**
	 * 评论UUID
	 */
	private String comment_id;
	/**
	 * 创建时间
	 */
	private String create_time;
	/**
	 * 发表出来的账号
	 */
	private Account post_account;
	/**
	 * 内容
	 */
	private String comment_content;
	/**
	 * 评论对象的uuid
	 */
	private String comment_group;
	/**
	 * 点赞人数
	 */
	private Integer like_num;
	/**
	 * 状态
	 */
	private Integer comment_state;
	/**
	 * 当前查询账号点赞状态
	 */
	private Boolean thisAccountLike;

	public Comment() {
		super();
	}

	public String getComment_id() {
		return comment_id;
	}

	public void setComment_id(String comment_id) {
		this.comment_id = comment_id;
	}

	public String getCreate_time() {
		return create_time;
	}

	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}

	public Account getPost_account() {
		return post_account;
	}

	public void setPost_account(Account post_account) {
		this.post_account = post_account;
	}

	public String getComment_content() {
		return comment_content;
	}

	public void setComment_content(String comment_content) {
		this.comment_content = comment_content;
	}

	public Integer getLike_num() {
		return like_num;
	}

	public void setLike_num(Integer like_num) {
		this.like_num = like_num;
	}

	public Integer getComment_state() {
		return comment_state;
	}

	public void setComment_state(Integer comment_state) {
		this.comment_state = comment_state;
	}

	@Override
	public String toString() {
		return "Comment [comment_id=" + comment_id + ", create_time=" + create_time + ", post_account=" + post_account
				+ ", comment_content=" + comment_content + ", comment_group=" + comment_group + ", like_num=" + like_num
				+ ", comment_state=" + comment_state + ", thisAccountLike=" + thisAccountLike + "]";
	}

	public Comment(String comment_id, String create_time, Account post_account, String comment_content,
			String comment_group, Integer like_num, Integer comment_state, Boolean thisAccountLike) {
		super();
		this.comment_id = comment_id;
		this.create_time = create_time;
		this.post_account = post_account;
		this.comment_content = comment_content;
		this.comment_group = comment_group;
		this.like_num = like_num;
		this.comment_state = comment_state;
		this.thisAccountLike = thisAccountLike;
	}

	public String getComment_group() {
		return comment_group;
	}

	public void setComment_group(String comment_group) {
		this.comment_group = comment_group;
	}

	public Boolean getThisAccountLike() {
		return thisAccountLike;
	}

	public void setThisAccountLike(Boolean thisAccountLike) {
		this.thisAccountLike = thisAccountLike;
	}

}
